home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MACD 5
/
MACD 5.bin
/
workbench
/
boot
/
czesc_2
/
wiconify
/
wutilities.lzh
/
wSetSysRequest
/
wSetSysRequest.doc
< prev
next >
Wrap
Text File
|
1991-04-19
|
2KB
|
62 lines
OVERVIEW:
wSetSysRequest is a companion program to wIconify that allows CLIs openned
on screens other than the Workbench screen to have their system request
messages show up on the screen where they are running, rather than on the WB
screen. While not strictly necessary, this provides a somewhat more
friendly environment when you are using CLIs on alternate screens.
USING WSETSYSREQUEST:
You can specify both the process to be affected and the screen on which that
processes system requests will open.
To specify a process, you must give its process name (not its CLI task
number), you may need to use a utility like AmigaMonitor to find the names
of the active tasks. If you do not specify a task name (or provide a blank
name such as "") then the current process is used by default.
To specify a screen, use its screen title. If the title includes spaces, be
sure to enclose the title in quotation marks. You need only specify as much
of the name as needed to distinguish the screen from other screens. Upper
and lower case letters are not distinguished. If you do not specify a
screen title, the currently active screen is used by default.
For example,
1> wSetSysRequest "" "Workbench"
sets the system request screen for the current task to the workbench screen.
On the other hand
1> wSetSysRequest "New CLI"
will set the system request screen for the process called "New CLI" to the
currently active window.
Programs started from the Workbench will have their process names set to the
name of the program that is running, but unfortunately, CLIs and programs
that are RUN from CLIs are given names like "New CLI" and "Background CLI".
wSetSysRequest can not distinguish among these, so it is best not to
attempt to specify these processes by name.
The typical usage of wSetSysRequest is to issue the command without
specifying either a process or a screen. This will set the system requests
for the CLI where the command was issued to the currently active screen.
Once a CLI has had its system request screen set, it will propagate that
screen to any commands that are executed from that CLI, including commands
that are started via RUN. It does NOT propagate, however, to new CLIs
created via NewCLI or NewShell. You must call wSetSysRequest for each of
these explicitly (usually within the S:SHELL-STARTUP file for new shells).
AUTHOR:
Davide P. Cervone
Mathematics Department
Brown Univerisy
Providence, Rhode Island 02912
ST402523@BROWNVM